package com.example.entity.farm;

public class TaskFarm {
    private String taskUid;
    private String taskName; //任务名称
    private Integer fertilizerReward;//完成任务获取的肥料数量
    private boolean completed;//任务是否已完成

    public String getTaskUid() {
        return taskUid;
    }

    public void setTaskUid(String taskUid) {
        this.taskUid = taskUid;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public Integer getFertilizerReward() {
        return fertilizerReward;
    }

    public void setFertilizerReward(Integer fertilizerReward) {
        this.fertilizerReward = fertilizerReward;
    }

    public boolean isCompleted() {
        return completed;
    }

    public void setCompleted(boolean completed) {
        this.completed = completed;
    }

    @Override
    public String toString() {
        return "TaskFarm{" +
                "taskUid='" + taskUid + '\'' +
                ", taskName='" + taskName + '\'' +
                ", fertilizerReward=" + fertilizerReward +
                ", completed=" + completed +
                '}';
    }
}
